package com.app.business.global.thirdservice.icc.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class StartTalkReq {
    @Schema(description = "客户端编号")
    private String source;
    
    @Schema(description = "设备编码")
    @NotBlank
    private String deviceCode;
    
    @Schema(description = "对讲类型[1=设备, 2=通道, 3=国标设备广播]")
    @NotBlank
    private String talkType;
    
    @Schema(description = "设备编号")
    private String target;
    
    @Schema(description = "音频编码位数")
    @NotBlank
    private String audioBit;
    
    @Schema(description = "音频编码类型")
    @NotBlank
    private String audioType;
    
    @Schema(description = "广播通道")
    private String broadcastChannels;
    
    @Schema(description = "采样率")
    @NotBlank
    private String sampleRate;
    
    @Schema(description = "对讲模式[0=对讲，1=广播]")
    private String talkMode;
    
    @Schema(description = "通道序号")
    @NotBlank
    private String channelSeq;
}
